<?php
/**
 * @author Di Zhang <zhangdi_me@163.com>
 */

namespace app\controllers;


class FontAwesomeController extends Controller
{
    public $layout = 'extension';
    public $title = 'yii2-font-awesome';
    public $navTitle = 'Font Awesome';
    public $navItems = [
        [
            'label'=>'简介 Overview',
            'url'=>['/font-awesome/index','#'=>'overview'],
            'active'=>true
        ],
        [
            'label'=>'项目 Project',
            'url'=>['/font-awesome/index','#'=>'project']
        ],
        [
            'label'=>'安装 Install',
            'url'=>['/font-awesome/index','#'=>'install']
        ],
        [
            'label'=>'用法 Usage',
            'url'=>['/font-awesome/index','#'=>'usage']
        ],
        [
            'label'=>'示例 Examples',
            'url'=>['/font-awesome/index','#'=>'examples']
        ],
    ];

    public function actionIndex()
    {
        return $this->render('index');
    }
}